package beans;

import main.Collector;
import main.User;

/**
 *
 * @author xDrake
 */
public class IndexBean extends MainBean{

    @Override
    public boolean isLoad() {
        User user = (User)session.getAttribute("userInfo");
        if ( user != null ) {
            if ( user.getID() != 0 ) {
                return true;
            }
        }
        return false;        
    }
}
